// import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'

import DemoView from './views/DemoView.vue'
import RefTestView from './views/RefTestView.vue'

// 创建应用实例
const app = createApp(App)

app.use(createPinia())
app.use(router)

// 注册全局组件
app.component('DemoView', DemoView)
    .component('RefTestView', RefTestView)
// 挂载的DOM元素上，id为app index.html中的<div id="app"></div>
app.mount('#app')
